package com.baox.agridata.synchronous.service.impl;

import com.baox.agridata.synchronous.dao.TUserDeclareMapper;
import com.baox.agridata.synchronous.entity.TUserDeclare;
import com.baox.agridata.synchronous.service.TUserDeclareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TUserDeclareServiceImpl implements TUserDeclareService {


    @Autowired
    private TUserDeclareMapper tUserDeclareMapper;

    @Override
    public List<TUserDeclare> selectUserDeclare() {
        return tUserDeclareMapper.selectUserDeclare();
    }

    @Override
    public String selectPhysicalPath(String mid) {
        return tUserDeclareMapper.selectPhysicalPath(mid);
    }

    @Override
    public Integer updateDeleteStatus(String mid, String deleteStatus) {
        return tUserDeclareMapper.updateDeleteStatus(mid, deleteStatus);
    }
}
